<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
request.setCharacterEncoding("UTF-8");
response.setCharacterEncoding("UTF-8");

String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>    	
<!DOCTYPE HTML>
<html>
  <head>
    <base href="<%=basePath%>">
    <title>title</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
  </head>
  <body>
会话id:${pageContext.session.id }</br>
Accept-Encoding报头:${header["Accept-Encoding"] }</br>
connection报头:${header["connection"] }
 
  </body>
</html>